package login

import (
	"3-19yk/common/proto/user"
	"3-19yk/service/server"
	"context"
)

func (s ServerUser) OrderAdd(ctx context.Context, req *user.OrderAddReq) (*user.OrderAddResp, error) {
	login, err := server.OrderAdd(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
func (s ServerUser) OrderCall(ctx context.Context, req *user.OrderCallReq) (*user.OrderCallResp, error) {
	login, err := server.OrderCall(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
func (s ServerUser) OrderShow(ctx context.Context, req *user.OrderShowReq) (*user.OrderShowResp, error) {
	login, err := server.OrderShow(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
func (s ServerUser) InCure(ctx context.Context, req *user.InCureReq) (*user.InCureResp, error) {
	login, err := server.InCure(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
